//
//  DataModel.h
//  KidReading
//
//  Created by Yinjialiang on 16/3/29.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>
//书架Model
@interface GridModel : NSObject

@property(nonatomic,strong)NSString* type;
@property(nonatomic,strong)NSString* itemNameZh;
@property(nonatomic,strong)NSString* itemNameEn;
@property(nonatomic,strong)NSString* itemType;
@property(nonatomic,assign)NSInteger itemId;
@property(nonatomic,strong)NSString* color;
@property(nonatomic,strong)NSString* bookIds;
@property(nonatomic,strong)NSString* vipCode;
@property(nonatomic,strong)NSDictionary* bookSub;

@end

//广告Model
@interface ADModel : NSObject
@property(nonatomic,assign)NSInteger advertId;
@property(nonatomic,strong)NSString* imgUri;
@property(nonatomic,assign)NSInteger advertType;
@property(nonatomic,strong)NSString* advertModule;
@property(nonatomic,strong)NSString* advertValue;
@property(nonatomic,strong)NSString* advertNameZh;
@property(nonatomic,strong)NSString* advertNameEn;
@end

@interface ADGroupModel : NSObject
@property(nonatomic,strong)NSString* adGroupNameZh;
@property(nonatomic,strong)NSString* adGroupNameEn;
@property(nonatomic,strong)NSString* type;
@property(nonatomic,strong)NSString* color;
@end


//titlebar Model
@interface MenueModel : NSObject

@property(nonatomic,assign)NSInteger menuId;
@property(nonatomic,strong)NSString *nameZh;
@property(nonatomic,strong)NSString *nameEn;
@property(nonatomic,strong)NSString *code;
@property(nonatomic,assign)NSInteger isDefault;
@property(nonatomic,strong)NSString *model;
@property(nonatomic,strong)NSString *value;
@property(nonatomic,strong)NSArray *subs;
@property(nonatomic,strong)NSString *color;
@end;

@interface BannerModel : NSObject
@property(nonatomic,assign)NSInteger bannerId;
@property(nonatomic,strong)NSString* bannerNameEn;
@property(nonatomic,strong)NSString* bannerNameZh;
@property(nonatomic,strong)NSString* bannerModule;
@property(nonatomic,assign)NSInteger bannerType;
@property(nonatomic,strong)NSString* bannerValue;
@property(nonatomic,strong)NSString* imgUri;
@end
//
@interface UserDataModel : NSObject
@property(nonatomic,strong)NSString* code;
@property(nonatomic,strong)NSString* avatar;
@property(nonatomic,strong)NSString* nickname;
@property(nonatomic,assign)NSInteger gender;
@property(nonatomic,strong)NSString* color;
@property(nonatomic,strong)NSString* comValue;
@property(nonatomic,strong)NSString* comValue2;
@property(nonatomic,strong)NSString* comValueEn;
@property(nonatomic,strong)NSString* comValueZh;
@property(nonatomic,strong)NSString* nameEn;
@property(nonatomic,strong)NSString* nameZh;
@property(nonatomic,strong)NSDictionary* alert;
@end
//
@interface FuncModel : NSObject
@property(nonatomic,assign)BOOL able;
@property(nonatomic,strong)NSString* code;
@property(nonatomic,strong)NSString* color;
@property(nonatomic,strong)NSString* nameEn;
@property(nonatomic,strong)NSString* nameZh;
@property(nonatomic,assign)NSInteger sort;
@property(nonatomic,strong)NSString* link;
@end
//
@interface RankPersonModel : NSObject
@property(nonatomic,strong)NSString* avatar;
@property(nonatomic,assign)NSInteger gender;
@property(nonatomic,strong)NSString* nickname;
@property(nonatomic,assign)NSInteger userId;
@end
//
@interface HomePageNewsModel : NSObject
@property(nonatomic,strong)NSString* avatar;
@property(nonatomic,assign)NSInteger gender;
@property(nonatomic,strong)NSString* date;
@property(nonatomic,strong)NSString* icon;
@property(nonatomic,assign)NSInteger newsId;
@property(nonatomic,strong)NSArray* idList;
@property(nonatomic,strong)NSArray* codeList;
@property(nonatomic,strong)NSArray* imgList;
@property(nonatomic,strong)NSString* name;
@property(nonatomic,strong)NSString* text;
@property(nonatomic,strong)NSString* type;
@property(nonatomic,assign)NSInteger userId;
@end
//
@interface StoryCardModel : NSObject
@property(nonatomic,assign)NSInteger cardId;
@property(nonatomic,strong)NSString* card_code;
@property(nonatomic,strong)NSString* card_name;
@property(nonatomic,strong)NSString* card_img_url;
@property(nonatomic,strong)NSString* card_type;
@property(nonatomic,strong)NSString* card_role;
@property(nonatomic,strong)NSString* card_level;
@property(nonatomic,strong)NSString* card_source;
@property(nonatomic,strong)NSString* card_brief;
@property(nonatomic,strong)NSString* card_desc;
@property(nonatomic,assign)NSInteger card_num;
@property(nonatomic,assign)BOOL piece_flag;
@end
//
@interface StoryCardInBookModel : NSObject
@property(nonatomic,assign)NSInteger cardPieceNums;
@property(nonatomic,assign)BOOL success;
@property(nonatomic,assign)NSInteger page;
@property(nonatomic,strong)StoryCardModel* storyCard;
@end
//
@interface BookHouseGridModel : NSObject
@property(nonatomic,strong)NSString* code;
@property(nonatomic,strong)NSString* nameZh;
@property(nonatomic,strong)NSString* nameEn;
@property(nonatomic,assign)NSInteger sort;
@property(nonatomic,strong)NSString* showIcon;
@property(nonatomic,assign)NSInteger count;
@end
//订单
@interface OrderModel : NSObject
//订单
@property(nonatomic,strong)NSString* order_no;
@property(nonatomic,assign)NSInteger state;  //订单状态 -2申请退款；-1审核未通过；0审核中（未审）；1制作中（过审）；2已发货；3用户已签收；4退款申请已处理；
@property(nonatomic,strong)NSString* cover_url;
@property(nonatomic,strong)NSString* title_zh;
@property(nonatomic,strong)NSString* title_en;
@property(nonatomic,strong)NSString* book_name;
@property(nonatomic,strong)NSString* book_author;
@property(nonatomic,strong)NSString* book_school_name;
@property(nonatomic,strong)NSString* book_class_name;
@property(nonatomic,strong)NSString* book_publisher;
@property(nonatomic,strong)NSString* modifyUrl;
@property(nonatomic,assign)NSInteger product_num;
@property(nonatomic,assign)CGFloat order_amount;
@end
